package adminRequest

type RoomListRequest struct {
	Page     int    `form:"page" json:"page" validate:"required"`
	JzwId    int64  `form:"jzw_id,default:0" json:"jzw_id,default:0" `
	FloorId  int64  `form:"floor_id,default:0" json:"floor_id,default:0" `
	PageSize int    `form:"pageSize,default:15" json:"pageSize,default:15"`
	Keyword  string `form:"keyword" json:"keyword"`
}

type AddRoomRequest struct {
	JzwId      int64  `form:"jzw_id" json:"jzw_id" validate:"required"`
	FloorId    int64  `form:"floor_id" json:"floor_id" validate:"required"`
	RoomName   string `form:"room_name" json:"room_name" validate:"required"`
	RoomNumber string `form:"room_number" json:"room_number" validate:"required"`
	SeatTotal  int    `form:"seat_total" json:"seat_total" validate:"required" msg:"房间容量必须存在"`
}

type EditRoomRequest struct {
	AddRoomRequest
	Id int64 `form:"id" json:"id" validate:"required"`
}
